package com.stars.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author : dj
 * @version ：1.0.0
 * @Date : create by 2019/1/3
 * @description ：获取用户账户签名的密钥路径
 * @note 注意事项
 */
@Component
public class RsaKey {

    @Value(value = "${rsa.user.prikey}")
    private String prikey;

    @Value(value = "${rsa.user.pubkey}")
    private String pubkey;

    @Value(value = "${rsa.user.expireTime}")
    private Integer expireTime;

    public Integer getExpireTime() {
        return expireTime;
    }

    public String getPrikey() {
        return prikey;
    }

    public String getPubkey() {
        return pubkey;
    }
}
